package cate.common.table.farm.tower.row;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteField;

public class TowerMainRow extends ERow {
    @NoteField(value = "层数")
    public int floor;

    @NoteField(value = "怪物一方实例ID")
    public String dynInsCode;

    @NoteField(value = "奖励")
    public String rewardStr;

    @NoteField(value = "首通额外奖励")
    public String rewardFirstExtStr;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("层数");
        this.floor = xrw.getInteger("层数");
        this.dynInsCode = xrw.getString("怪物一方实例ID");
        this.rewardStr = xrw.getString("奖励");
        this.rewardFirstExtStr = xrw.getString("首通额外奖励");
    }
}
